<!DOCTYPE html>
<html>
<head>
<title></title>
<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<#if shiro.hasPermission("otuser:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("otuser:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("otuser:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">融云token</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.token" placeholder="融云token"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">创建时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.creattime" placeholder="创建时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">姓名</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.name" placeholder="姓名"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">手机号码</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.phone" placeholder="手机号码"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">邮箱</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.email" placeholder="邮箱"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">密码</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.passwd" placeholder="密码"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">总收益</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.summoney" placeholder="总收益"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">提现总额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.fetchmoney" placeholder="提现总额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">冻结金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.coldmoney" placeholder="冻结金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">可用金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.usablemoney" placeholder="可用金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">待激活金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.waitactivemoney" placeholder="待激活金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">返利金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.returnmoney" placeholder="返利金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">注册金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.registermoney" placeholder="注册金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">邀请金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.investmoney" placeholder="邀请金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">菜籽数</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.rapnum" placeholder="菜籽数"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">等级</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.level" placeholder="等级"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">上次登入时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.logintime" placeholder="上次登入时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">头像</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.headimage" placeholder="头像"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">登入次数</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.loginnum" placeholder="登入次数"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">邀请人id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.inviterid" placeholder="邀请人id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">渠道id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.channelid" placeholder="渠道id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">状态(0无效，1有效)</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.status" placeholder="状态(0无效，1有效)"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">备注</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.remark" placeholder="备注"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">邀请码（注册填写）</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.invitecode" placeholder="邀请码（注册填写）"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">邀请码（自己所属所属）</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="otUser.belongcode" placeholder="邀请码（自己所属所属）"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${request.contextPath}/statics/js/modules/generator/otuser.js?_${.now?long}"></script>
</body>
</html>